#editor_modal {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 9001;
  left: 0;
  background: $notification-backdrop;
}

#editor_text {
  margin: 10% auto;
  width: 50%;
  max-height: 500px;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid $container-color;
  box-shadow: 0 0 10px $container-color;
  background-color: $background-color;

  @media screen and (max-width: $medium) {
    width: 80%;
  }

  @media screen and (max-width: $small) {
    margin: 0 auto;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border: none;
    box-shadow: none;
  }
}

#editor_text div.table div.table_row {
  display: table-row;
}

#editor_text div.table div.table_cell {
  display: table-cell;
  word-break: break-word;
}

#editor_modal .align_left,
#editor_modal .align_right {
  @media screen and (max-width: $medium) {
    width: auto !important;
  }
}

h1#close_editor {
  font-weight: 300;
  font-size: $font26;
  padding: 0;
  margin: 0px;
  color: $secondary-text-color;

  @media screen and (max-width: $medium) {
    font-size: $font22;
  }

  @media screen and (max-width: $small) {
    font-size: $font20;
  }
}

#modal_text {
  width: calc(90%);
  height: calc(100% - 100px);
}

.no_scroll {
  overflow: hidden;
}
